package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.queryparam.NursingLevelQueryParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {


    public abstract Page<NursingLevel> getPage(NursingLevelQueryParam nlqp);

    public abstract void addNursingLevel(NursingLevel nl);

    public abstract NursingLevel getByIdNursingLevel(Integer id);

    public abstract void updateNursingLevel(NursingLevel nl);


    public abstract void statusNursingLevel(Integer id, Integer status);

    public abstract void deleteNursingLevel(Integer id);

    public abstract List<NursingLevel> allList();
}
